package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 ds_student
 *
 * @author tyro
 * @date 2025-03-05
 */
public class DsStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    private String studentId;

    /** 学生工号 */
    @Excel(name = "学生工号")
    private String studentNo;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 密码 */
    @Excel(name = "密码")
    private String studentPassword;

    /** 所属班级id */
    private Long clasId;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String studentSex;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 删除标志 */
    private String delFlag;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }

    public void setStudentNo(String studentNo)
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo()
    {
        return studentNo;
    }

    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }

    public void setStudentPassword(String studentPassword)
    {
        this.studentPassword = studentPassword;
    }

    public String getStudentPassword()
    {
        return studentPassword;
    }

    public void setStudentSex(String studentSex)
    {
        this.studentSex = studentSex;
    }

    public String getStudentSex()
    {
        return studentSex;
    }

    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public Long getClasId() {
        return clasId;
    }

    public void setClasId(Long clasId) {
        this.clasId = clasId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("collegeId", getCollegeId())
            .append("studentNo", getStudentNo())
            .append("studentName", getStudentName())
            .append("studentPassword", getStudentPassword())
            .append("studentSex", getStudentSex())
            .append("clasId", getClasId())
            .append("className", getClassName())
            .append("major", getMajor())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
